﻿package com.firewolf.state.main;

import com.firewolf.state.context.GumballMachine;

public class TestMainDriver {
	public static void main(String[] args) {
		GumballMachine gumballMachine = new GumballMachine(5);
		System.out.println(gumballMachine);
		System.out.println("====================");
		
		for(int i = 0;i<6;i++){
			gumballMachine.insertMoney();
			gumballMachine.turnCrank();
			System.out.println(gumballMachine);
			System.out.println("====================");
		}
		
	}
}
